package org.northking.service;

import org.springframework.stereotype.Service;

@Service
public class ConsumerA extends FruitShop{

    @Override
    public Double totalPrice(int...count) {
        return super.getApplePrice(count[0]) + super.getStrawberryPrice(count[1]);
    }
}
